	<h2 class="rubrik" style="float:right">Gamemaster</h2>
	<h2 class="rubrik">Kampagner</h2>


	<p class="rubrik">
		<?
		foreach($kampagner as $r)
		{
			$element = new kampagne();
			$element->find_kampagne($r['id']);
			$gamemaster = $element->gamemaster;

			
			echo "<p class='rubrik'>";
			echo "<span style='float:right;'>";

			if(!empty($gamemaster)) {
				foreach($gamemaster as $gm) {
				$gamemasters[] = $gm['navn']." ".$gm['efter_navn'];
			}
			$kampagne_gms = join(" og ",$gamemasters);
			echo $kampagne_gms;
			unset($gamemasters);

			}
			else { echo "Ingen gamemaster tilknyttet";}
			echo "</span>";

					
				echo anchor("deltager/kampagne/",$r['navn'],"class='ink' title='Se kampagnedetaljer'");
				echo "<br/></p>";



		}


		?>
	</p>
